Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: login to GAR only on push events #670

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

dsotirakis
Copy link
Contributor

Uses login-to-gar action only on push events, to allow PRs that come from forks to at least be able to build docker images on PRs.

@dsotirakis dsotirakis self-assigned this Jan 3, 2025
@dsotirakis dsotirakis marked this pull request as ready for review January 3, 2025 15:01
@dsotirakis dsotirakis requested a review from a team as a code owner January 3, 2025 15:01
Copy link

@npazosmendez npazosmendez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsotirakis dsotirakis added this pull request to the merge queue Jan 7, 2025
Merged via the queue into main with commit c1714b0 Jan 7, 2025
14 checks passed
@dsotirakis dsotirakis deleted the login-to-gar-only-if-push-is-true branch January 7, 2025 08:10
@iainlane
Copy link
Member

iainlane commented Jan 7, 2025

@dsotirakis I'd consider adding a way to always log in. A time when you need to log in when not pushing is when your Dockerfile has another private image as a FROM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants